package sctu.edu.java.year2016.team04.luoxinghua.day20160601.chapter9_2;

/**创建一个类，在该类定义一个方法，并在方法中上创建一个局部内部类通过局部内部类求任意两个
 * 数的成积，并在外部类中测试
 * Created by 落叶的思恋 on 2016/5/31.
 */
public class Work92 {
    float aa;
    float bb;
void Work92(float aa,float bb ){
 this.aa=aa;
    this.bb=bb;
    class product{
       void result(){
           System.out.println("This is product two numbers ："+aa*bb);
        }
    }
 product pdt=new product();
 pdt.result();
}

    public static void main(String[] args) {
        Work92 work=new Work92();
        work.Work92(23,56);
    }
}
